package Operation;

public class Demo03 {
    public static void main(String[] args) {
        //三元运算符
        // x?y:z   如果x为true，则结果为y，否则为z
        int score = 80;
        String type = score > 60 ? "及格" : "不及格";
        System.out.println(type);

    }
}
